[INFO] cloning repository https://github.com/JTreske/singularity-dotfiles-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JTreske/singularity-dotfiles-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTreske%2Fsingularity-dotfiles-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTreske%2Fsingularity-dotfiles-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 165ade9adf0cabfe5fd5b574cf0d922c5546f240
[INFO] testing JTreske/singularity-dotfiles-manager against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTreske%2Fsingularity-dotfiles-manager" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JTreske/singularity-dotfiles-manager
[INFO] finished tweaking git repo https://github.com/JTreske/singularity-dotfiles-manager
[INFO] tweaked toml for git repo https://github.com/JTreske/singularity-dotfiles-manager written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JTreske/singularity-dotfiles-manager on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JTreske/singularity-dotfiles-manager already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ad856cfa9b9b55f5598aa89c133fce4f7fabc0c26eeb7fb1a59fafffbdd66fb
[INFO] running `Command { std: "docker" "start" "-a" "9ad856cfa9b9b55f5598aa89c133fce4f7fabc0c26eeb7fb1a59fafffbdd66fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ad856cfa9b9b55f5598aa89c133fce4f7fabc0c26eeb7fb1a59fafffbdd66fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ad856cfa9b9b55f5598aa89c133fce4f7fabc0c26eeb7fb1a59fafffbdd66fb", kill_on_drop: false }`
[INFO] [stdout] 9ad856cfa9b9b55f5598aa89c133fce4f7fabc0c26eeb7fb1a59fafffbdd66fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9f097fc0161812e77c25539f1a667ffb2bc3195ec19ba76a6c8d7e3aab15645
[INFO] running `Command { std: "docker" "start" "-a" "e9f097fc0161812e77c25539f1a667ffb2bc3195ec19ba76a6c8d7e3aab15645", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling console v0.16.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling smawk v0.3.2
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling unit-prefix v0.5.2
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling indicatif v0.18.4
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling thin-vec v0.2.18
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling rhai_codegen v3.1.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling symlink v0.1.0
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling rhai v1.24.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling tracing-appender v0.2.5
[INFO] [stderr]    Compiling cliclack v0.5.4
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling os-release v0.1.0
[INFO] [stderr]    Compiling which v8.0.2
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling rustls-platform-verifier v0.7.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.13.3
[INFO] [stderr]    Compiling singularity-dotfiles-manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 19s
[INFO] running `Command { std: "docker" "inspect" "e9f097fc0161812e77c25539f1a667ffb2bc3195ec19ba76a6c8d7e3aab15645", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9f097fc0161812e77c25539f1a667ffb2bc3195ec19ba76a6c8d7e3aab15645", kill_on_drop: false }`
[INFO] [stdout] e9f097fc0161812e77c25539f1a667ffb2bc3195ec19ba76a6c8d7e3aab15645
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abec9f21cba91b2cb0e35c23c7b60b0e639d3b230ab61b3269a65b50eb4acb1a
[INFO] running `Command { std: "docker" "start" "-a" "abec9f21cba91b2cb0e35c23c7b60b0e639d3b230ab61b3269a65b50eb4acb1a", kill_on_drop: false }`
[INFO] [stderr]    Compiling singularity-dotfiles-manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.12s
[INFO] running `Command { std: "docker" "inspect" "abec9f21cba91b2cb0e35c23c7b60b0e639d3b230ab61b3269a65b50eb4acb1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abec9f21cba91b2cb0e35c23c7b60b0e639d3b230ab61b3269a65b50eb4acb1a", kill_on_drop: false }`
[INFO] [stdout] abec9f21cba91b2cb0e35c23c7b60b0e639d3b230ab61b3269a65b50eb4acb1a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1851771113f828a7a4f037f3217681bf84ab0ff6fd15896027c34213d22d4cdd
[INFO] running `Command { std: "docker" "start" "-a" "1851771113f828a7a4f037f3217681bf84ab0ff6fd15896027c34213d22d4cdd", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/singularity_dotfiles_manager-28aae89b62ea7ee7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/singularity_dotfiles_manager-5c1d14ab558a3994)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests singularity_dotfiles_manager
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::success (line 248) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::info (line 231) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::step (line 214) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::debug (line 197) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::runner::run_command_with_cwd (line 377) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::warn (line 282) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::error (line 299) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::runner::clone_git_repository_with_tag (line 436) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::multi_select (line 567) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::runner::os_short_name (line 349) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::log::remark (line 265) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::confirm (line 515) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::note (line 496) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::read_file (line 621) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::create_tmp_dir (line 687) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::runner::install_package (line 323) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::resolve_home (line 602) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::regex_replace (line 667) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::parse_json (line 751) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::select (line 535) ... FAILED
[INFO] [stdout] test src/util/hooks.rs - util::hooks::api::utility::write_file (line 644) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::success (line 248) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:249:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | api::log::success("success message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 248 + use cliclack::log;
[INFO] [stdout]     |
[INFO] [stdout] 248 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] 248 + use singularity_dotfiles_manager::util::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 249 - api::log::success("success message");
[INFO] [stdout] 249 + log::success("success message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::info (line 231) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:232:1
[INFO] [stdout]     |
[INFO] [stdout] 232 | api::log::info("info message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 231 + use cliclack::log;
[INFO] [stdout]     |
[INFO] [stdout] 231 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] 231 + use singularity_dotfiles_manager::util::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 232 - api::log::info("info message");
[INFO] [stdout] 232 + log::info("info message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::step (line 214) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:215:1
[INFO] [stdout]     |
[INFO] [stdout] 215 | api::log::step("step message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 214 + use cliclack::log;
[INFO] [stdout]     |
[INFO] [stdout] 214 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] 214 + use singularity_dotfiles_manager::util::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 215 - api::log::step("step message");
[INFO] [stdout] 215 + log::step("step message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::debug (line 197) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:198:1
[INFO] [stdout]     |
[INFO] [stdout] 198 | api::log::debug("debug message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 197 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 198 - api::log::debug("debug message");
[INFO] [stdout] 198 + log::debug("debug message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::runner::run_command_with_cwd (line 377) stdout ----
[INFO] [stdout] error: expected one of `!` or `[`, found `{`
[INFO] [stdout]    --> src/util/hooks.rs:378:85
[INFO] [stdout]     |
[INFO] [stdout] 378 | api::runner::run_command(runner, "git", ["sparse-checkout", "set", "test"], false, #{}, "/path/to/repo");
[INFO] [stdout]     |                                                                                     ^ expected one of `!` or `[`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::warn (line 282) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:283:1
[INFO] [stdout]     |
[INFO] [stdout] 283 | api::log::warn("warning message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 282 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] 282 + use singularity_dotfiles_manager::util::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 283 - api::log::warn("warning message");
[INFO] [stdout] 283 + log::warn("warning message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::error (line 299) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:300:1
[INFO] [stdout]     |
[INFO] [stdout] 300 | api::log::error("error message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 299 + use cliclack::log;
[INFO] [stdout]     |
[INFO] [stdout] 299 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] 299 + use singularity_dotfiles_manager::util::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 300 - api::log::error("error message");
[INFO] [stdout] 300 + log::error("error message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::runner::clone_git_repository_with_tag (line 436) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:437:1
[INFO] [stdout]     |
[INFO] [stdout] 437 | api::runner::clone_git_repository_with_tag("https://github.com/user/repo", "/tmp/dir", "1.0.0");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 436 + use singularity_dotfiles_manager::util::hooks::api::runner;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `runner`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 437 - api::runner::clone_git_repository_with_tag("https://github.com/user/repo", "/tmp/dir", "1.0.0");
[INFO] [stdout] 437 + runner::clone_git_repository_with_tag("https://github.com/user/repo", "/tmp/dir", "1.0.0");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::multi_select (line 567) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:568:14
[INFO] [stdout]     |
[INFO] [stdout] 568 | let choice = api::utility::multi_select(
[INFO] [stdout]     |              ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 567 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 568 - let choice = api::utility::multi_select(
[INFO] [stdout] 568 + let choice = utility::multi_select(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::runner::os_short_name (line 349) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:350:10
[INFO] [stdout]     |
[INFO] [stdout] 350 | let os = api::runner::os_short_name(runner);
[INFO] [stdout]     |          ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 349 + use singularity_dotfiles_manager::util::hooks::api::runner;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `runner`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 350 - let os = api::runner::os_short_name(runner);
[INFO] [stdout] 350 + let os = runner::os_short_name(runner);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `runner` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:350:37
[INFO] [stdout]     |
[INFO] [stdout] 350 | let os = api::runner::os_short_name(runner);
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::log::remark (line 265) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:266:1
[INFO] [stdout]     |
[INFO] [stdout] 266 | api::log::remark("remark message");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 265 + use cliclack::log;
[INFO] [stdout]     |
[INFO] [stdout] 265 + use singularity_dotfiles_manager::util::hooks::api::log;
[INFO] [stdout]     |
[INFO] [stdout] 265 + use singularity_dotfiles_manager::util::log;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `log`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 266 - api::log::remark("remark message");
[INFO] [stdout] 266 + log::remark("remark message");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::confirm (line 515) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/util/hooks.rs:516:61
[INFO] [stdout]     |
[INFO] [stdout] 516 | if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout]     |                                                             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 516 - if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout] 516 + if api::utility::confirm("Do you want to proceed?", true) { .. }
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 516 - if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout] 516 + if api::utility::confirm("Do you want to proceed?", true) { ..= }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/util/hooks.rs:516:61
[INFO] [stdout]     |
[INFO] [stdout] 516 | if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout]     |                                                             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 516 - if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout] 516 + if api::utility::confirm("Do you want to proceed?", true) { .. }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:516:4
[INFO] [stdout]     |
[INFO] [stdout] 516 | if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout]     |    ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 515 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 516 - if api::utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout] 516 + if utility::confirm("Do you want to proceed?", true) { ... }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::note (line 496) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:497:1
[INFO] [stdout]     |
[INFO] [stdout] 497 | api::utility::note("Next Steps", "Set your preferred shell, ...");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 496 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 497 - api::utility::note("Next Steps", "Set your preferred shell, ...");
[INFO] [stdout] 497 + utility::note("Next Steps", "Set your preferred shell, ...");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::read_file (line 621) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:622:14
[INFO] [stdout]     |
[INFO] [stdout] 622 | let config = api::utility::read_file("~/.config/myapp/config.toml");
[INFO] [stdout]     |              ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 621 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 622 - let config = api::utility::read_file("~/.config/myapp/config.toml");
[INFO] [stdout] 622 + let config = utility::read_file("~/.config/myapp/config.toml");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::create_tmp_dir (line 687) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:688:11
[INFO] [stdout]     |
[INFO] [stdout] 688 | let tmp = api::utility::create_tmp_dir();
[INFO] [stdout]     |           ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 687 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 688 - let tmp = api::utility::create_tmp_dir();
[INFO] [stdout] 688 + let tmp = utility::create_tmp_dir();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:689:12
[INFO] [stdout]     |
[INFO] [stdout] 689 | let path = api::utility::get_tmp_path(tmp);
[INFO] [stdout]     |            ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 687 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 689 - let path = api::utility::get_tmp_path(tmp);
[INFO] [stdout] 689 + let path = utility::get_tmp_path(tmp);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::runner::install_package (line 323) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:324:1
[INFO] [stdout]     |
[INFO] [stdout] 324 | api::runner::run(runner, "git");
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `runner` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:324:18
[INFO] [stdout]     |
[INFO] [stdout] 324 | api::runner::run(runner, "git");
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::resolve_home (line 602) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:603:17
[INFO] [stdout]     |
[INFO] [stdout] 603 | let full_path = api::utility::resolve_home("~/Downloads");
[INFO] [stdout]     |                 ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 602 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 603 - let full_path = api::utility::resolve_home("~/Downloads");
[INFO] [stdout] 603 + let full_path = utility::resolve_home("~/Downloads");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::regex_replace (line 667) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:668:15
[INFO] [stdout]     |
[INFO] [stdout] 668 | let cleaned = api::utility::regex_replace("Hello 123", "[0-9]+", "World");
[INFO] [stdout]     |               ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 667 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 668 - let cleaned = api::utility::regex_replace("Hello 123", "[0-9]+", "World");
[INFO] [stdout] 668 + let cleaned = utility::regex_replace("Hello 123", "[0-9]+", "World");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::parse_json (line 751) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:752:12
[INFO] [stdout]     |
[INFO] [stdout] 752 | let data = api::utility::parse_json("{\"key\": \"value\"}");
[INFO] [stdout]     |            ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 751 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 752 - let data = api::utility::parse_json("{\"key\": \"value\"}");
[INFO] [stdout] 752 + let data = utility::parse_json("{\"key\": \"value\"}");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `print`
[INFO] [stdout]    --> src/util/hooks.rs:753:1
[INFO] [stdout]     |
[INFO] [stdout] 753 | print(data.key);
[INFO] [stdout]     | ^^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 753 | print!(data.key);
[INFO] [stdout]     |      +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::select (line 535) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:536:14
[INFO] [stdout]     |
[INFO] [stdout] 536 | let choice = api::utility::select(
[INFO] [stdout]     |              ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 535 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 536 - let choice = api::utility::select(
[INFO] [stdout] 536 + let choice = utility::select(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/hooks.rs - util::hooks::api::utility::write_file (line 644) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `api` in this scope
[INFO] [stdout]    --> src/util/hooks.rs:645:1
[INFO] [stdout]     |
[INFO] [stdout] 645 | api::utility::write_file("~/log.txt", "New entry\n", true);
[INFO] [stdout]     | ^^^ use of unresolved module or unlinked crate `api`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `api`, use `cargo add api` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 644 + use singularity_dotfiles_manager::util::hooks::api::utility;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `utility`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 645 - api::utility::write_file("~/log.txt", "New entry\n", true);
[INFO] [stdout] 645 + utility::write_file("~/log.txt", "New entry\n", true);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::debug (line 197)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::error (line 299)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::info (line 231)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::remark (line 265)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::step (line 214)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::success (line 248)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::log::warn (line 282)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::runner::clone_git_repository_with_tag (line 436)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::runner::install_package (line 323)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::runner::os_short_name (line 349)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::runner::run_command_with_cwd (line 377)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::confirm (line 515)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::create_tmp_dir (line 687)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::multi_select (line 567)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::note (line 496)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::parse_json (line 751)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::read_file (line 621)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::regex_replace (line 667)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::resolve_home (line 602)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::select (line 535)
[INFO] [stdout]     src/util/hooks.rs - util::hooks::api::utility::write_file (line 644)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.52s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.83s; merged doctests compilation took 0.30s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1851771113f828a7a4f037f3217681bf84ab0ff6fd15896027c34213d22d4cdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1851771113f828a7a4f037f3217681bf84ab0ff6fd15896027c34213d22d4cdd", kill_on_drop: false }`
[INFO] [stdout] 1851771113f828a7a4f037f3217681bf84ab0ff6fd15896027c34213d22d4cdd
